﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Interface_Tier;
using Transfer_Object_Tier;
using System.Data;
using Data_Access_Tier;

namespace Business_Tier
{
    public class BT_BangCap : MarshalByRefObject, IDIC_DEGREEData
    {
        DIC_DEGREEData bangcap = new DIC_DEGREEData();

        public int DIC_DEGREE_Delete(string DegreeCode)
        {
            return bangcap.DIC_DEGREE_Delete(DegreeCode);
        }
        public int DIC_DEGREE_Disable(string DegreeCode, ref bool Enabled)
        {
            return 1;
        }
        public System.Data.DataSet DIC_DEGREE_Get(string DegreeCode)
        {
            return bangcap.DIC_DEGREE_Get(DegreeCode);
        }
        public System.Data.DataSet DIC_DEGREE_GetList()
        {
            return bangcap.DIC_DEGREE_GetList();
        }
        public int DIC_DEGREE_Insert(string DegreeCode, string DegreeName, string Description, bool Active)
        {
            return bangcap.DIC_DEGREE_Insert(DegreeCode,DegreeName,Description,Active);
        }
        public int DIC_DEGREE_Save(string DegreeCode, string DegreeName, string Description, bool Active)
        {
            return bangcap.DIC_DEGREE_Save(DegreeCode, DegreeName, Description, Active);
        }
        public int DIC_DEGREE_Update(string DegreeCode, string DegreeName, string Description, bool Active)
        {
            return bangcap.DIC_DEGREE_Update(DegreeCode, DegreeName, Description, Active);
        }

        public DataSet DIC_DEGREE_Search(String DegreeCode, String DegreeName, String Description)
        {
            return bangcap.DIC_DEGREE_Search(DegreeCode,DegreeName,Description);
        }
    }
}
